import { Service } from "egg";

export default class ContactPersonService extends Service {
  // 获取通讯录列表
  async fetchContactsList(params: { appId: string }) {
    const { ctx } = this;
    const client = await ctx.app.geweChatSDKClient;
    const res = await client.exec("contacts/fetchContactsList", params);

    return res;
  }
}
